package com.mogujie.tt.ui.widget;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by 50281 on 2015/9/15.
 */
public class QuanzQzPhone implements Parcelable {

    public static final String DATA="data";
    public static final String POSITION="position";
    public String max;// 大图地址
    public String min;// 小图地址

    public QuanzQzPhone() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel out, int flags) {
        out.writeString(max);
        out.writeString(min);
    }

    public static final Creator<QuanzQzPhone> CREATOR = new Creator<QuanzQzPhone>() {
        @Override
        public QuanzQzPhone[] newArray(int size) {
            return new QuanzQzPhone[size];
        }
        @Override
        public QuanzQzPhone createFromParcel(Parcel in) {
            return new QuanzQzPhone(in);
        }
    };

    public QuanzQzPhone(Parcel in) {
        max = in.readString();
        min = in.readString();
    }
}
